package org.jeecg.modules.chexkModel.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 车型库车型
 * @Author: jeecg-boot
 * @Date:   2021-10-19
 * @Version: V1.0
 */
@Data
@TableName("kuyb_chexk_model")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="kuyb_chexk_model对象", description="车型库车型")
public class KuybChexkModel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**车型名称*/
	@Excel(name = "车型名称", width = 15)
    @ApiModelProperty(value = "车型名称")
    private String chexmc;
	/**年款*/
	@Excel(name = "年款", width = 15)
    @ApiModelProperty(value = "年款")
    private String ninak;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private Double jiag;

    @TableLogic
    private Integer delFlag;

    /**车系*/
    @Dict(dictTable = "kuyb_chexk_chex", dicText = "chexmc", dicCode = "id")
    private java.lang.String chex;

    // 是否进口
    @Dict(dicCode = "yn")
    Integer shifjk;
    // 原厂保修年限
    Integer yuancbxnx;
    // 原厂保修公里数
    Integer yuancbxgls;
    // 原厂保修
    String yuancbx;
    // 能源类型
    @Dict(dicCode = "nengylx")
    String nengylx;
    // 品牌id
    @Dict(dictTable = "kuyb_chexk_pinp", dicText = "name", dicCode = "id")
    String pinpId;
}
